package com.chagee.store.operation.server.event.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chagee.store.operation.server.entity.CommentConfigurationDO;
import com.chagee.store.operation.server.event.dao.CommentConfigurationMapper;
import com.chagee.store.operation.server.model.param.CommentConfigurationParam;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author : hk
 * @Date : 2024/7/5
 */

@Service
public class CommentConfigurationBaseService extends ServiceImpl<CommentConfigurationMapper, CommentConfigurationDO> {

	@Resource
	private CommentConfigurationMapper commentConfigurationMapper;

	public Page<CommentConfigurationDO> pageQueryList(CommentConfigurationParam request, Page<CommentConfigurationDO> page) {
		return commentConfigurationMapper.pageQueryCommentConfig(page, request);
	}
}
